\starttext
Me\par
\blackrule[color=black, height=0.10ex, width=13.50cm]\dontleavehmode
\inoutermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}} \par
Me
Many thanks for your help.
Uschi Hermann
rule\\{3.2.2}}\par \dontleavehmode \blackrule
It is not clear to me why you need to remain in horizontal mode after a
paragraph break.
At least, with the following commands, I get the same results:
\inoutermargin{\blackrule\\{3.2.2}}
\blackrule
Just in case it
{\inoutermargin{#2}}
\setuphead
[title,subject]
[page=no,
alternative=text,
command=\SectionCommand,
distance=0pt,
style={\tf\sc},
before={\blank[line]}]
\starttext
\title{Knuth}
With title: \input knuth\par
\starttitle[title={Tufte}]
With starttitle: \input tufte\par
\stoptitle
...@ntg.nl wrote:
Date: Sun, 13 Jan 2013 22:44:59 +0100
From: Sietse Brouwer sbbrou...@gmail.com
To: mailing list for ConTeXt users ntg-context@ntg.nl
Subject: Re: [NTG-context] Controlling Appearance of \inoutermargin
Message-ID:
CAF=dkzyWB-aVxCKb_+Fo+_Jn+Hhdw9HBRvj7XOhGghwg=t4
Hi Malte,
This mail contains (1) an answer to your question; (2) a minimal
working example; (3) an explanation of how I found this out (I had
never heard of inoutermargin before).
(1) An answer to your question.
I grepped the ConTeXt source code for `inoutermargin`, and found out
Hi,
I have just changed one of my documents from single-page to double-page to be
printed as a book. I have some margin remarks, that used to be on the left
which I am now trying to move to the outer margin on odd and even pages (that
is, left on even, right on odd pages). In doing so, I had
not work:
\starttext
\setuplayout[location={middle,doublesided},backspace=2cm]
\setuppagenumbering[alternative=doublesided]
%
\setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt]
\setupmarginframed[align=outer]
% \dorecurse{20
, either for \inmargin or \inoutermargin? My
publisher is going to kill me
\usemodule[annotation]
%\defineannotation[mymargin][alternative=inmargin]
\define[2]\MymarginCommand
{\inmargin[scope=local]{#2}}
\defineannotation
[mymargin]
[alternative=command,
command=\MymarginCommand]
\starttext
, either for \inmargin or \inoutermargin? My
publisher is going to kill me
\usemodule[annotation]
%\defineannotation[mymargin][alternative=inmargin]
\define[2]\MymarginCommand
{\inmargin[scope=local]{#2}}
\defineannotation
[mymargin]
[alternative=command,
command=\MymarginCommand]
\starttext
] for
for a single
command with \inmargin[][align=outer]{…}
Hmm .. does not work:
\starttext
\setuplayout[location={middle,doublesided},backspace=2cm]
\setuppagenumbering[alternative=doublesided]
%
\setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx
] for
for a single
command with \inmargin[][align=outer]{…}
Is there any workaround, either for \inmargin or \inoutermargin? My
publisher is going to kill me
\usemodule[annotation]
%\defineannotation[mymargin][alternative=inmargin]
\define[2]\MymarginCommand
{\inmargin[scope=local]{#2}}
\defineannotation
with \inmargin[][align=outer]{…}
Hmm .. does not work:
\starttext
\setuplayout[location={middle,doublesided},backspace=2cm]
\setuppagenumbering[alternative=doublesided]
%
\setupmargindata[inoutermargin][location=outer,align=inner,style=\tfxx\setupinterlinespace,margin=54pt
{\inoutermargin[scope=local]{#2}}
\setupindenting[medium,next,yes]
\defineannotation
[mymargin]
[alternative=command,
% display=yes,
command=\MymarginCommand,
indentnext=yes]
\starttext
\dorecurse{2}{This is a test of the annotation module and the indenting
mechanism} \mymargin{This is a test
Dear cabal,
There seems to be a bug in MkIV:
\starttext
This is a test \inoutermargin[ref]{test}
As explained earlier (page \at[ref])
This is a test \inoutermargin[reference=reff]{test}
As explained earlier (page \at[reff])
\stoptext
The reference is not generated
Am 01.11.2011 um 19:47 schrieb Idris Samawi Hamid ادريس سماوي حامد:
Dear cabal,
There seems to be a bug in MkIV:
\starttext
This is a test \inoutermargin[ref]{test}
As explained earlier (page \at[ref])
This is a test \inoutermargin[reference=reff]{test
[][ref]
references unknown reference [][reff]
Please advise and
\inoutermargin doesn’t support references and the optional argument
expects a assignments as you can see from the message
Well, that's quite frustrating... I have a 400-page document I'm trying
'ref' in line 2
(@@mcinoutermargin:)
references unknown reference [][ref]
references unknown reference [][reff]
Please advise and
\inoutermargin doesn’t support references and the optional argument expects
a assignments as you can see from
Hi James,
You can use
\inoutermargin{some marginal note}
and
\ininnermargin{some marginal note}
Then when you use
\setuplayout[location=doublesided]
at the beginning of your file, the above two commands should give you what you
seem to be wanting.
Best regards: OK
On 9
Hi Otared,
Thanks. Two problems here:
- the \inoutermargin and \ininnermargin commands add text to the margins. I
can set it to no text, but I don't see why they would be necessary to define
inner and outer margin size.
- the location=doublesided looks like what I was looking
Am 04.04.2011 um 23:56 schrieb C.:
Hello,
in my doublesided document \inmargin texts are always on the left side of
the body text.
\inmargin is configures to be always in the left margin, you can use
\inothermargin to put the text in the opposite margin or use \inoutermargin
to put
Hello,
in my doublesided document \inmargin texts are always on the left side
of the body text.
\inmargin is configures to be always in the left margin, you can use
\inothermargin to put the text in the opposite margin or use
\inoutermargin
to put the text always in the outer margin
}{\input knuth}Nochmal \inmargin{test 2}ein
Test.\dorecurse{5}{\input knuth}\inmargin{bla}
\stoptext
Note: \inoutermargin on page 3 behaves correctly, though it seems to have a
different default style (why bold, anyway?).
As for now, I'm using \inoutermargin .
-Ursprüngliche Nachricht
}Nochmal \inmargin{test 2}ein
Test.\inoutermargin{this is OK}\dorecurse{5}{\input knuth}\inmargin{bla}
\stoptext
-Ursprüngliche Nachricht-
Von: Wolfgang Schuster [mailto:schuster.wolfg...@googlemail.com]
Gesendet: Dienstag, 5. April 2011 13:36
An: mailing list for ConTeXt users
Betreff: Re
{%
\inoutermargin{%
\hbox to .6\rightmarginwidth{%
\hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}%
}\tfc #2%
}%
}
\setuphead
[chapter]
[command=\PlaceChapter,header=empty,footer=empty]
\starttext
\chapter{Test}
This is only a test!
\stoptext
--
Best wishes,
Li Yanrui
\PlaceChapter#1#2{%
\vbox{%
\inoutermargin{%
\hbox to .6\rightmarginwidth{%
\hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}%
}\tfc #2%
}%
}
\setuphead
[chapter]
[command=\PlaceChapter,header=empty,footer=empty]
As alternative:
\define[2]\PlaceChapter
{\hbox{\vtop{#2}\rlap{\hskip
?
I extract the following fragment from my document and I wish it can help
you :)
\def\PlaceChapter#1#2{%
\vbox{%
\inoutermargin{%
\hbox to .6\rightmarginwidth{%
\hfil\switchtobodyfont[32pt,myfont,rm]{#1}\hss}%
}\tfc #2%
}%
}
\setuphead
[chapter]
[command=\PlaceChapter
26 matches
Mail list logo